package com.hihiwjc.app.zzmh.utils;

import android.util.Log;

import com.hihiwjc.app.zzmh.BuildConfig;


/**
 * 日志打印工具
 * <p>Created by hihiwjc on 2015/9/24 0024.</p>
 * <p>Author:hihiwjc</p>
 * <p>Email:hihiwjc@live.com</p>
 */

public final class LogUtil {
    private final static String TAG = "ZZMH";
    private final static boolean IS_DEBUGGING = BuildConfig.DEBUG;

    public static void d(String msg) {
        if (IS_DEBUGGING) {
            Log.d(TAG, msg);
        }
    }

    public static void e(String msg) {
        if (IS_DEBUGGING) {
            Log.e(TAG, msg);
        }
    }

    public static void i(String msg) {
        if (IS_DEBUGGING) {
            Log.i(TAG, msg);
        }
    }

    public static void w(String msg) {
        if (IS_DEBUGGING) {
            Log.w(TAG, msg);
        }
    }
}
